Appx-RemoveProvisionedPackage doesn't clean up files in C:\Program Files\WindowsApps

Hi,

I used the following commands to prevent installing some of the built-in apps:

Get-AppxProvisionedPackage -Online | Where-Object -Property Name -Like *Bing* | Remove-AppxProvisionedPackage -Online

Get-AppxProvisionedPackage -Online | Where-Object -Property Name -Like *Xbox* | Remove-AppxProvisionedPackage -Online

Then, I created a new user and logged as them.  The apps were not installed.  But they still show up as "staged":

Get-AppxPackage -AllUsers | where-object -property name -like *bing* | format-list -property name,packageuserinformation

Name                   : Microsoft.BingMaps
PackageUserInformation : {S-1-5-18 [Unknown user]: Staged

Name                   : Microsoft.Bing
PackageUserInformation : {S-1-5-18 [Unknown user]: Staged

Name                   : Microsoft.BingFinance
PackageUserInformation : {S-1-5-18 [Unknown user]: Staged

Name                   : Microsoft.BingWeather
PackageUserInformation : {S-1-5-18 [Unknown user]: Staged

Name                   : Microsoft.BingSports
PackageUserInformation : {S-1-5-18 [Unknown user]: Staged

Name                   : Microsoft.BingNews
PackageUserInformation : {S-1-5-18 [Unknown user]: Staged

Name                   : Microsoft.BingTravel
PackageUserInformation : {S-1-5-18 [Unknown user]: Staged

And the files are still in C:\Program Files\WindowsApps.

I was hoping to clean up some clutter on my hard drive and permanently remove the files.  Can it be done?

Thanks.

December 29th, 2012 4:21am

Hi,

From the following document, we can see:

How to Add and Remove Apps

http://technet.microsoft.com/en-us/library/hh852635.aspx

Apps that are installed in the Windows image are called provisioned apps. Provisioned apps are staged in the image and are scheduled to be installed for every user of the Windows image at first logon.

Based on my understanding, as these are provisioned apps, so they are displayed as Staged. To remove them, please try to remove the packages for all users with the Remove-AppxProvisionedPackage cmdled. For reference, please also see:

Removing Built-in Applications from Windows 8

http://blogs.technet.com/b/deploymentguys/archive/2012/10/26/removing-built-in-applications-from-windows-8.aspx

Hope this helps.

Thanks
Free Windows Admin Tool Kit Click here and download it now
December 31st, 2012 9:25am

Try spec app Windows Store Applications Manager - www.appxmanager.hol.es

May 11th, 2015 2:42am

Try spec app Windows Store Applications Manager - www.appxmanager.hol.es

Free Windows Admin Tool Kit Click here and download it now
May 11th, 2015 6:42am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics